<?php

return CMap::mergeArray(
    // наследуемся от main.php
    require(dirname(__FILE__).'/main.php'),
    array(
		'theme'=>'webmoney',
		'modules'=>array(
			'gii'=>array(
				'class'=>'system.gii.GiiModule',
				'password'=>'qazwsx',
				//'ipFilters'=>array(…список IP…),
				//'newFileMode'=>0666,
				//'newDirMode'=>0777,
			),
		),
        'components'=>array(
            // переопределяем компонент db
			'db'=>array(
				'connectionString' => 'mysql:host=localhost;dbname=netflow',
				'emulatePrepare' => true,
				'username' => 'netflow',
				'password' => 'neTfLow',
				'charset' => 'utf8',
				'enableParamLogging' => 'true',
				'tablePrefix' => 'yii_',
			),
			
			'log'=>array(
				'class'=>'CLogRouter',
				'routes'=>array(
					array(
						'class'=>'CFileLogRoute',
						'levels'=>'error, warning',
					),
					// uncomment the following to show log messages on web pages
					
					array(
						'class'=>'CWebLogRoute',
					),
				),		
			),			
        ),
    )
);